<!doctype html>
<html lang="en-US">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <script type="text/javascript" src="./jquery-1.11.0.js"></script>
    <script type="text/javascript" src="./touch.js"></script>
    <title></title>
</head>
<body>
    <style type="text/css">
        .outer{
            width:500px;
            height:500px;
            background: lightyellow;
        }
        .inner{
            widht:300px;
            height:300px;
            background: lightgreen;
        }
    </style>
    <div class="outer">
        <div class="inner">
            test
        </div>
    </div>

    <script type="text/javascript">
        $('.outer').on('tap',function(){
           console.log('outer tap');
        });
        $('.inner').on('tap',function(){
           console.log('inner tap');
        });
    </script>
</body>
</html>